<template>
	<div class="flex items-center gap-1" v-if="data">
		<account-tag-win v-if="data.winRate" :data="data.winRate" />
		<account-tag-roi v-if="data.roi" :data="data.roi" />
	</div>
</template>

<script lang="ts" setup>
import AccountTagWin from '../account-tag-win/index.vue'
import AccountTagRoi from '../account-tag-roi/index.vue'
import { PropType } from 'vue'
import { UserTagsType } from '@/types'
defineProps({
	data: {
		type: Object as PropType<UserTagsType>
	}
})
</script>
